package com.it.schoolbookshop_back.entities.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 更新系统设置的请求DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UpdateSettingsDTO implements Serializable {
    /**
     * 系统设置列表
     */
    private List<SettingItem> settings;
    
    /**
     * 设置项
     */
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class SettingItem implements Serializable {
        /**
         * 设置ID
         */
        private Integer id;
        
        /**
         * 设置值
         */
        private Integer value;
        
        /**
         * 设置描述
         */
        private String description;
    }
} 